﻿using System;

namespace PLCWpfTest.Models
{
    public class SysLogModel
    {
        public int Level { get; set; }

        public DateTime DateTime { get; set; }

        public string Description { get; set; }

        public SysLogModel() { }

        public SysLogModel(int level, string message)
        {
            Level = level;
            DateTime = DateTime.Now;
            Description = message;
        }
    }
}
